
import 'package:json_annotation/json_annotation.dart';

import 'moto_detail.dart';
part 'moto_versiong.dart';

@JsonSerializable()
class MotoVersion{

  int ?upgrade_type;
  String ?ebike_name;
  String ?ebike_type_name;
  int ?id;
  int ?status;
  int ?plan_id;
  int ?strategy_id;
  List<MotoDetail> ?details;
  MotoVersion();



  factory MotoVersion.fromJson(Map<String, dynamic> json) =>
      _$MotoVersionFromJson(json);
  Map<String, dynamic> toJson() => _$MotoVersionToJson(this);
}